import 'package:city_corner/main-page/filter-panel/opt-list.dart';
import 'package:flutter/cupertino.dart';

/**
 * 筛选栏——区域——附近
 */
class Near extends StatefulWidget {
  @override
  _NearState createState() => _NearState();
}

class _NearState extends State<Near> {
  List nearList = [
    {'label': '0.5km', 'value': 0.5},
    {'label': '1km', 'value': 1},
    {'label': '1.5km', 'value': 1.5},
    {'label': '2km', 'value': 2},
  ];

  @override
  Widget build(BuildContext context) {
    return Container(
      child: OptList(opts: nearList),
    );
  }
}
